﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="CadastroHistory.aspx.cs" Inherits="ViewLayer.Pages.Historys.CadastroHistory" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <br />
    <br />
    <asp:Panel ID="pnlHistoryTypes" runat="server" Visible="false">
        <asp:Table ID="tblHistoryTypes" runat="server" GridLines="Both" Width="250px">
            <asp:TableRow>
                <asp:TableCell ID="lblHistoryType" Text="Tipo de Hist&oacute;ria" HorizontalAlign="Center"
                    VerticalAlign="Middle">
                </asp:TableCell>
                <asp:TableCell>
                    <asp:DropDownList ID="ddlHistoryTypes" runat="server">
                        <asp:ListItem Text="Nenhum" Value="-1"></asp:ListItem>
                    </asp:DropDownList>
                </asp:TableCell>
            </asp:TableRow>
            <asp:TableRow>
                <asp:TableCell ID="lblCadastrarHistoria" Text="Cadastrar um novo tipo de Hist&oacute;ria">
                </asp:TableCell>
                <asp:TableCell>
                    <asp:LinkButton ID="lkbCadastrarHistoria" runat="server" OnClick="lkbCadastrarHistoriaType_Click">Cadastrar</asp:LinkButton>
                </asp:TableCell>
            </asp:TableRow>
        </asp:Table>
        
    </asp:Panel>
    <br />
    <asp:Panel ID="pnlCadastroEstoria" runat="server" Visible="true">
        <asp:Label ID="lblPage" runat="server" Text="Cadastrar Hist&oacute;ria" Font-Size="Larger"></asp:Label>
        <br />
        <br />
        <asp:Table ID="tblCadastroEpics" runat="server" GridLines="Both" Width="500px">
            <asp:TableHeaderRow>
                <asp:TableHeaderCell ID="labels" Text="R&oacute;tulo" Width="100px" HorizontalAlign="Center" VerticalAlign="Middle">
                </asp:TableHeaderCell>
                <asp:TableHeaderCell ID="value" Text="Valores">
                </asp:TableHeaderCell>
            </asp:TableHeaderRow>
            <asp:TableRow>
                <asp:TableCell ID="lblNome" Text="Nome: " HorizontalAlign="Center" VerticalAlign="Middle">
                </asp:TableCell>
                <asp:TableCell>
                    <asp:TextBox ID="txtNome" runat="server" Width="90%"></asp:TextBox>
                </asp:TableCell>
            </asp:TableRow>
            <asp:TableRow>
                <asp:TableCell ID="lblDescricao" Text="Descri&ccedil;&atilde;o: " HorizontalAlign="Center"
                    VerticalAlign="Middle">
                </asp:TableCell>
                <asp:TableCell>
                    <asp:TextBox ID="txtDescricao" runat="server" Width="100%" TextMode="MultiLine" Height="200px"></asp:TextBox>
                </asp:TableCell>
            </asp:TableRow>
            <asp:TableRow>
                <asp:TableCell ID="lblMelhorCaso" Text="Melhor Caso: " ToolTip="Refere-se ao valor da estimativa de melhor caso para o Epic."
                    HorizontalAlign="Center" VerticalAlign="Middle">
                </asp:TableCell>
                <asp:TableCell>
                    <asp:TextBox ID="txtMelhorCaso" runat="server" Width="90%"></asp:TextBox>
                </asp:TableCell>
            </asp:TableRow>
            <asp:TableRow>
                <asp:TableCell ID="lblMaisProvavel" Text="Caso mais Prov&aacute;vel: " ToolTip="Refere-se ao valor da estimativa do caso m&eacute;dio para o Epic."
                    HorizontalAlign="Center" VerticalAlign="Middle">
                </asp:TableCell>
                <asp:TableCell>
                    <asp:TextBox ID="txtMaisProvavel" runat="server" Width="90%"></asp:TextBox>
                </asp:TableCell>
            </asp:TableRow>
            <asp:TableRow>
                <asp:TableCell ID="lblPiorCaso" Text="Pior Caso: " ToolTip="Refere-se ao valor da estimativa do pior caso para o Epic."
                    HorizontalAlign="Center" VerticalAlign="Middle">
                </asp:TableCell>
                <asp:TableCell>
                    <asp:TextBox ID="txtPiorCaso" runat="server" Width="90%"></asp:TextBox>
                </asp:TableCell>
            </asp:TableRow>
            <%--<asp:TableRow>
            <asp:TableCell ColumnSpan="2" HorizontalAlign="Center" VerticalAlign="Middle">
                <asp:Button ID="btnAction" runat="server" Text="Salvar" />
            </asp:TableCell>
        </asp:TableRow>--%>
            <asp:TableRow>
                <asp:TableCell ID="lblSaveExit" HorizontalAlign="Center" VerticalAlign="Middle" Text="Salvar e Decompor em Tarefas">
                </asp:TableCell>
                <asp:TableCell ID="cellSave" runat="server" HorizontalAlign="Center" VerticalAlign="Middle">
                    <asp:Button ID="btnSaveExit" runat="server" Text="Salvar e Sair" OnClick="btnSaveExit_Click" />
                </asp:TableCell>
            </asp:TableRow>
            <asp:TableRow runat="server" HorizontalAlign="Center" VerticalAlign="Middle">
                <asp:TableCell ID="lblSaveContinue" HorizontalAlign="Center" VerticalAlign="Middle"
                    Text="Salvar e continuar criando Hist&oacute;rias">
                </asp:TableCell>
                <asp:TableCell ID="cellSaveContinue" runat="server">
                    <asp:Button ID="btnSaveContinue" runat="server" Text="Salvar e Continuar" OnClick="btnSaveContinue_Click" />
                </asp:TableCell>
            </asp:TableRow>
            <asp:TableRow runat="server" HorizontalAlign="Center" VerticalAlign="Middle">
                <asp:TableCell ID="lblGoBack" HorizontalAlign="Center" VerticalAlign="Middle" Text="Voltar para tela inicial de Hist&oacute;rias">
                </asp:TableCell>
                <asp:TableCell ID="cellVoltar" runat="server">
                    <asp:Button ID="btnVoltar" runat="server" Text="Voltar" OnClick="btnVoltar_Click" />
                </asp:TableCell>
            </asp:TableRow>
        </asp:Table>
    </asp:Panel>
</asp:Content>